home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / cpttrs.z / cpttrs
Encoding:
Text File  |  2002-10-03  |  4.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCPPPPTTTTTTTTRRRRSSSS((((3333SSSS))))                                                          CCCCPPPPTTTTTTTTRRRRSSSS((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CPTTRS - solve a tridiagonal system of the form A * X = B using the
  10.      factorization A = U'*D*U or A = L*D*L' computed by CPTTRF
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE CPTTRS( UPLO, N, NRHS, D, E, B, LDB, INFO )
  14.  
  15.          CHARACTER      UPLO
  16.  
  17.          INTEGER        INFO, LDB, N, NRHS
  18.  
  19.          REAL           D( * )
  20.  
  21.          COMPLEX        B( LDB, * ), E( * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      CPTTRS solves a tridiagonal system of the form A * X = B using the
  38.      factorization A = U'*D*U or A = L*D*L' computed by CPTTRF. D is a
  39.      diagonal matrix specified in the vector D, U (or L) is a unit bidiagonal
  40.      matrix whose superdiagonal (subdiagonal) is specified in the vector E,
  41.      and X and B are N by NRHS matrices.
  42.  
  43.  
  44. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  45.      UPLO    (input) CHARACTER*1
  46.              Specifies the form of the factorization and whether the vector E
  47.              is the superdiagonal of the upper bidiagonal factor U or the
  48.              subdiagonal of the lower bidiagonal factor L.  = 'U':  A =
  49.              U'*D*U, E is the superdiagonal of U
  50.              = 'L':  A = L*D*L', E is the subdiagonal of L
  51.  
  52.      N       (input) INTEGER
  53.              The order of the tridiagonal matrix A.  N >= 0.
  54.  
  55.      NRHS    (input) INTEGER
  56.              The number of right hand sides, i.e., the number of columns of
  57.              the matrix B.  NRHS >= 0.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCPPPPTTTTTTTTRRRRSSSS((((3333SSSS))))                                                          CCCCPPPPTTTTTTTTRRRRSSSS((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      D       (input) REAL array, dimension (N)
  75.              The n diagonal elements of the diagonal matrix D from the
  76.              factorization A = U'*D*U or A = L*D*L'.
  77.  
  78.      E       (input) COMPLEX array, dimension (N-1)
  79.              If UPLO = 'U', the (n-1) superdiagonal elements of the unit
  80.              bidiagonal factor U from the factorization A = U'*D*U.  If UPLO =
  81.              'L', the (n-1) subdiagonal elements of the unit bidiagonal factor
  82.              L from the factorization A = L*D*L'.
  83.  
  84.      B       (input/output) REAL array, dimension (LDB,NRHS)
  85.              On entry, the right hand side vectors B for the system of linear
  86.              equations.  On exit, the solution vectors, X.
  87.  
  88.      LDB     (input) INTEGER
  89.              The leading dimension of the array B.  LDB >= max(1,N).
  90.  
  91.      INFO    (output) INTEGER
  92.              = 0: successful exit
  93.              < 0: if INFO = -k, the k-th argument had an illegal value
  94.  
  95. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  96.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  97.  
  98.      This man page is available only online.
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.